/*
 All IO Ports

 This example goes through all the IO ports on your robot and
 reads/writes from/to them. Uncomment the different lines inside
 the loop to test the different possibilities.

 The M inputs on the Control Board are multiplexed and therefore
 it is not recommended to use them as outputs. The D pins on the
 Control Board as well as the D pins on the Motor Board go directly
 to the microcontroller and therefore can be used both as inputs
 and outputs.

 Circuit:
 * Arduino Robot

 created 1 May 2013
 by X. Yang
 modified 12 May 2013
 by D. Cuartielles

 This example is in the public domain
 */

#include <ArduinoRobot.h>


void loop() {
  
  
    forward(1000,255);
    halt(0);
    delay(500);
    
    reverse(1000,255);
    halt(0);
    delay(500);
  
}

